package com.gmcc.tripleplay.control;

import com.gmcc.tripleplay.entity.MPlayInfo;
import com.sara.loader.Response;

public class MPlayResponse extends Response {

    public MPlayInfo mPlayInfo;

    public MPlayResponse() {

    }

    public MPlayResponse(Response response) {
        setCode(response.getCode());
        setDescription(response.getDescription());
        if (response.getResponseObject() != null
                && response.getResponseObject() instanceof MPlayInfo) {
            mPlayInfo = (MPlayInfo) response.getResponseObject();
        }
    }
}
